tala1 = int(input("Fyrri talan: "))
tala2 = int(input("Seinni talan: "))
if tala1 % tala2 == 0:
	print(str(tala2) + " gengur upp í " + str(tala1))
else:
	print(str(tala2) + " gengur ekki upp í " + str(tala1))
